namespace OracleInternal.TTC
{
	internal class TTCTypeRepresentation
	{
		internal const byte NATIVE = 0;

		internal const byte UNIVERSAL = 1;

		internal const byte LSB = 2;

		internal const byte MAXREP = 3;

		internal const byte B1 = 0;

		internal const byte B2 = 1;

		internal const byte B4 = 2;

		internal const byte B8 = 3;

		internal const byte PTR = 4;

		internal const byte MAXTYPE = 4;

		internal const byte REPUNV = 1;

		internal const byte REPBUNV = 1;

		internal const byte REPCUNV = 1;

		internal const byte REPIUNV = 1;

		internal const byte REPNV51 = 10;

		internal const byte REPDV51 = 10;

		internal const byte REPAUNV = 1;

		internal const byte REPRUNV = 1;

		internal byte[] m_representationArray;

		internal const byte NUMREPS = 5;

		internal byte m_serverConvFlags;

		internal byte ServerConversionFlags
		{
			get
			{
				return m_serverConvFlags;
			}
			set
			{
				m_serverConvFlags = value;
			}
		}

		internal bool ConversionRequired => (m_serverConvFlags & 2) > 0;

		internal TTCTypeRepresentation()
		{
			m_representationArray = new byte[5];
			m_representationArray[0] = 0;
			m_representationArray[1] = 1;
			m_representationArray[2] = 1;
			m_representationArray[3] = 1;
			m_representationArray[4] = 1;
		}
	}
}
